//
//  QAIMGameMangaer.h
//  AFNetworking
//
//  Created by 范浩云 on 2018/3/14.
//

#import <Foundation/Foundation.h>
#import "QAIMMessageModel.h"
#import "QAIMGameConfig.h"

typedef void(^QAIM_MessageBlock)(NSString * jsonMessage);

@interface QAIMGameMangaer : NSObject

/**
 获取自定消息题
 */
@property (nonatomic, copy) QAIM_MessageBlock  imMessageBlock;


/**
 初始化
 */
+ (instancetype)shareGameManger;

/**
初始化SDK
 */
- (void)initSDK;

/**
 登录

 @param param 登录参数
 @param succ 登录成功
 @param fail 登录失败
 */
- (void)login:(TIMLoginParam *)param succ:(TIMLoginSucc)succ fail:(TIMFail)fail;

/**
退出登录

 @param param 退出登录参数
 @param succ 退出成功
 @param fail 退出失败
 */
- (void)login:(TIMLoginParam *)param succ:(TIMLoginSucc)succ fail:(TIMFail)fail;


@end
